import {defineStore} from "pinia";
import {ref} from "vue";

export const useRouterStore = defineStore('router', () => {
    //缓存的页面
    const include = ref([])
    //重置数据
    const reset = () => {
        include.value = []
    }
    return {include, reset}
}, {
    persist: true
})